package com.zimmur.service.impl.base;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.base.ISystemconfigDao;
import com.zimmur.model.base.Systemconfig;
import com.zimmur.service.base.ISystemconfigService;

@Service("systemconfigServiceImpl")
public class SystemconfigServiceImpl implements ISystemconfigService {
	@Resource
	private ISystemconfigDao systemConfigDao;
	
	@Override
	public Systemconfig getDefaultConfigValue(String configName) {
		return systemConfigDao.selectByConfigName(configName);
	}

}
